package me.olook.dubboconsumer.service;

import api.UserService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author zhaohw
 * @date 2018-08-27 10:32
 */
@Component
public class IUserService {

    @Reference
    private UserService userService;

    public String say (){
        return userService.hello();
    }
}
